const http = require('http');


const server = http.createServer((req,res)=>{
    console.log('method',request.method);

    console.log('url',req.url);

    const {pathname,searchParams} = new URL(req.url,'http://localhost:3001')

    const username = searchParams.get('username')
    const pwd = searchParams.get('pwd')


    // body 参数
})